Fix two-point markers computation