Code cleanup
Save mouse position on right click