Fix for shadows' showing up on the wrong side of objects.