allow offscreen editors to gain focus for unit tests