Fixed bad variable name when recording current mouse position.