force browser to re-draw after ratio adjusting