Remove warnings and comment. CurrentEffectRenderWindow was useless
anyway