Clears selection before setting cursor position
Issues: WM-4770
Fixes isPublished icon in property panel
Issues: WM-4768