Added delta calculation to player movement