Fixed issue #1 pertaining to triangle rendering