(patch) displayobjects/line: Fix end positions when setting length

Setting the length property should resize the line around its
origin. This was broken in 2.4.0. Setting the x/y properties will
call the setter functions that will change some internal
properties that need to be correct when setPosition is called.