Fix for fullscreen mode switching: when we reshape, we need to resize the
render texture (if it exists).