Fixed a bug which caused the JTextField to disappear after moving a
Word.