Fixed a bug in the avatar controller where the algorithm for determining if the avatar has landed on a tile or hit the side wasnt able to work correctly because the last avatar state kept changing.