Fixes #5345: Embed media in CKEditor textareas will insert content at last caret position