Fixed render-item dispatch.

And an annoying indentation issue.