fixed unexpected behavior of changing camera angle in glfw/main