Fix bug: when zooming or resizing, old state is rendered
Fix bug: when zooming or resizing, old state is rendered

robotopia-x/robotopia,hdm-project/robot-ide,robotopia-x/robotopia,robotopia-x/robotopia