join two segments if they connects with their start point

This PR fixes the upper right logo's unnecessary shadow in the swfs/food.swf.