Fix player movement

Now player can move in a constant speed.