Fixed render texture issue where textures not getting uploaded to GPU before render