Fix strange behaviour when the player clicks and drags outside the play area.
Merge pull request #3 from djcsdy/drag-out-of-bounds-upstream

Fix strange behaviour when the player clicks and drags outside the play area