Update mouse position on each frame