Fix cubemap initialization