Remove the loop in updating the paintop editor
The bug is fixed now, but it needs extensive testing
Ref T3578