RF-13629: reset position before resizing