driver: fix cubemaps

Previous tiling changes broke cubemap support. This commit fixes the offsets
and makes the cubemap test work again.