fixed tile movement bug