update triangle mixin to enable antialiasing

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