small syntax fixes for triangle draw/fill in rasterize fction