Fix error when the mouse is already at the target
Merge pull request #44 from egeldenhuys/mouse

Fix error when the mouse is already at target