The most likely problem is that the browser is clipping your cube; the 'receding' will be caused by a rectangular clip. If you run the cube in a different environment, the problem will (most likely) disappear.