Fix to the bg fill bug.