Fixed graph node positioning overflow problem