RF-13616: Skipped the width calculation in the doResizeOrMove function when options.autosized is true