Only show the edit icon on a WPImageSpan if it is in the editor fragment.