Fixed broken rendering stuff.