Updates the center on method to ensure the viewport is updated.
        
        :param      *args | <variant>

def centerOn(self, *args):
        """
        Updates the center on method to ensure the viewport is updated.
        
        :param      *args | <variant>
        """
        super(XNodeWidget, self).centerOn(*args)
        
        for con in self.connections():
            con.setPath(con.rebuild())
            con.update()