Render the cube correctly