Fix regression in adjustPosition. Version 1.1.16