fix a defect in reposition function regarding input field WITHOUT an active popover