Add rounded corners for triangle primitive