fixed issue #14

Fixed focus traversal bug