Fix black screen when fbo set in first frame.

Because BeginFrame() is actually only called after the first frame.
Merge pull request #1553 from unknownbrackets/fbo-fix

Fix black screen when fbo set in first frame