Making sure offset is not greater than line width.