Fixed issue with locations of mouse clicks.