Fix assert-valid-component exception.

I had a devil of a time figuring out what I'd done wrong. Turns out I'd forgotten to give `render` an argument list and the assertion function was throwing an exception while trying to throw an exception. (Yo dawg.) This should take care of that.