Verify fbo exists when copying depth.

Should fix #5343 based on stack trace.