A population model with non-neutral mutations using branching processes with immigration