The graph component was not sized correctly in some cases