Fix setBackground problem.