Fixed problems with arcs unexpectedly disappearing or being badly drawn in VML. Closes #1371. Closes #1410.