Fixed a bug where things were still highlighted as if editable when you reverted to view mode