fixed a small bug in renderings the graphs in night mode.