Move focus if current focussed actor is going to be hidden

If a registered focusable actor is going to be hidden or unrealized move focus to next focusable actor.