Set keyWindow for non-gui specs (spec targets)