Problem solved. There was a screw loose on the underside of the lift mechanism causing the gear to drop. Tightened that up and it works normally again. When I removed the screen from the inside the gear dropped down on top of it. Looked normal from above (the roof) though.