[FIX] Fix crash when using keyboard with multiples widgets/windows