added dirty workaround to erase text if input gadget font has draw offset