BUG: Fix the triangular marker rendering error.

Fix for [#2964](https://github.com/matplotlib/matplotlib/issues/2964).