Fixed a bug when screenfading to a texture