Resize stage depending of background size