Fix bg resizing