Fixed an error with gotoXYTile()