Fixed movement bug

When two movement keys where pressed after the other (without releasing
the first one), movement used to get stuck.