Fix to not show cursor when pressed (OpenGL).