Fixing other things.
Still need to fix the depthwrite/transparent things properly.