fixed contextArrow size detection in snap script