DX9: fixed cubemap upload.
Cleanup.