Allocate tiles as a unified buffer.
Remove temp buffer for non-tiled image.