Fix OpenGL double-click regression