fixed a warning and the rendering speed now doesn't shows the average rendering speed, but the actual speed(since last showing)