fix some problems with drawing inlets/outlets in iemgui