Update engine.py

fixed player position error.