filter destroyed actors correctly in PerformKeyboardOrderOnSelection

Fixes #2947