Fixed the software render path.

Unfortunately it too suffers from #62.

Fixes #57.
Fixes #55.