fixed flickering issues with water effect.