Fixed regression bug that caused the caret to be placed within a note after noting a selection