maybe this will prevent the warp-away problem when returning focus to the window