The game registers on release of finger, release of mouse1, or press down of space bar. Try holding your figure down ahead of time and let go when you want it to stop.
If I coded it the other way, a ton of the default UI stuff breaks.