fix #911 arrow head position is not correct in webkit