Fixed graphs rendering incorrectly