Did some rendering stuff