update triangle mixin to enable antialiasing

The introduced updates enable triangle antialiasing in Webkit and Gecko browsers, which is especially noticable if the triangle doesn't have uniform dimensions.