kludge-ish fix for uis responding when they should be hidden