Fix wrong size generated of FBO for some games which uses it as render-to-texture