GUI: Fix rich text entry problem.