Fixes NPE when focusing multichat windows.