swapped bg1 and bg2