GUI: workaround for cut popups in all comboboxes

the previous workaround doesn't work with newer java versions
Merge branch 'master' into comboboxbug
GUI: workaround for cut popups in textfields with units