Fixed tile handling problems

Fixed the tile-handler problems