fixed zoom bug in addPointToPath