resize stage when container resized