removed unneeded code for resizing tiles