RF-13629: reset dimensions according to current window