Fixed obstacle placement

IE still has issues if the mouse is right-clicked and then moved as e.which
seems to be 1 when mousemove is triggered regardless of button. Instead of
fixing that it would be better to get it working with touch as well.

Fixed #2