Re-did the ball movement and opengl transformation properly