fix viewCube in safari