GUI: workaround for cut popups in textfields with units