fixed problems with rendersize