Fixed additional bad variable name when recording current mouse position.