Snap displayed edges for better appearance.