Don't use deprecated `getActivePane`