Fix: RichText widget's content will be lost when it's dragged to another location