Fix rendering problem