Fix bug reported when using backgrounds in a feature