Fixed a problem where tiled boxes were overlapping