Make 'Size and position' to resize only when necessary.