Fixed background type bug