Fix keyboard focus when header is hidden