-Fixed some rendering problems