Adapt arena size to window size.