[[ Bug 13974 ]] Added the last point of the last polygon side