Ensured proper focus order when using tab key (fixes #57).