Merge "Don't set replacing flag in starting windows."