Made the touch/mouse controls work better

As per discussion on manuq/maze-web#1 :smiley_cat: