Move stat bar rendering to rendering device.