Use a render list instead of rendering in each object.

Signed-off-by: Sam Phippen <samphippen@googlemail.com>