Clean up rendering and add an alpha parameter.