fixed bug with nullpointer if player returned to starting point