EMI: Shadow fixes

851d783 fixes shadows occasionally flickering with the OpenGL renderer. 3648da8 fixes one of the shadows in the set law not appearing.