inputGUI: fix problem with empty square staying at the end of a forcetext input, when pasting.