Fixed bug where player position Y is never referenced because X was referenced by accident.