There is a nylon strap that you need to attach to the edge of the partly open top that will pull the glass window flat against the rear roll bar. Check out pedro's garage tech article for accessing the engine with a glass rear window:
Accessing the Engine