fixes for proper stride for tiled buffers