fixed 2d objects not being in front of cubes