iOS - added depth buffer discard at end of frame