Plane position calculation corrected (regression fix)