Fixed bug with the port in the "Add new Core"-Dialog. (Still ugly)