Fix scaling so that tilesize is always dividable by 16.. Automatic resize