fix refreshRendering (bad arg)