Fixed player movement in lib