Removing duplicate graph rendering