fix for SwitchTexture2DNode