disable move shortcuts if event target is input