Revert "fixed bug with labels outside of graph"

This reverts commit 965a3879ccb07964d468be267f21cb26d80094d9.
actually fixed bug with labels displaying outside