Using a more reliable way to save the caret position

blur() isn't that great with Firefox because getSelection() already contains the new range and focusout is not supported.
Merge branch 'master' of github.com:WoltLab/WCF