Added a condition to prevent gotoXYTileDown from being misused to go to a location beyond TILE_HEIGHT