Combine background and foreground