fix for diagonal tile movement