Fix the triangular mark rendering error. The "Up" triangle was rendered
instead of "Right" triangle and vice-versa.
Merge pull request #2968 from mpyrozhok/issue-2964

BUG: Fix the triangular marker rendering error.  Closes #2964