Set background color when frame size is different from requested size