Fixes window traversal direction.