added TILE_RECT flag to Tilesheet