Bugfix glider on polygon

If the segment the glider is on changes, the change was not stored back in the glider.