Clear background correctly