Added optional configuration variable for whether the fill should merge the background