fixed flickering in ruleeditor