Fixed flash with context menu and editor view refresh event