Small changes to the rendering engine