fix initfocus bug in plotutils