Simpler code for header refocusing on enter (Refs #4)