Merge pull request #5840 from leoetlino/wx-focus-fix WX: Fix 'renderer has focus' returning false after start