Fixed so that the render class actually can render.

Signed-off-by: Tokelz <and_re1@hotmail.com>