Fixed messed up rendering