Fixed Renderer
Made display cpp to avoid deprecation warning.