WIKI-257 Wrong positions on edit wiki page with rich text editor