RTT: better handle case when texture/FBO creation fails