Fixed an error thrown when navigating throught wigets with keyboard.