Made stencil work on iOS

Stencil doesn't work on iOS when rendering directly to screen because its framebuffer is created with no consideration of PreferredDepthStencilFormat.
A better fix would be to consider that, but I didn't want to start digging in the code, and since the depth buffer is already hard coded, I just added that there.