handle window size change and renderer logical size