Device: Add beginFrame() to deal with old onNewFrame() behaviour.
Add DepthStencil state for Pass.