shader tweaks and hack to prevent render texture active switch