Fixed end note barrier and caret positioning

Previously caret positioning wasn't working when noting something with formatting (or a link). Again Chrome is the culprit. This works around the issues with minimum side effects.