def _move_focused_item_into_viewport(self, view, focused_item):
        """Called when an item is focused, moves the item into the viewport

        :param view:
        :param StateView | ConnectionView | PortView focused_item: The focused item
        """
        self.view.editor.handler_block(self.drag_motion_handler_id)
        self.move_item_into_viewport(focused_item)
        self.view.editor.handler_unblock(self.drag_motion_handler_id)
Called when an item is focused, moves the item into the viewport

        :param view:
        :param StateView | ConnectionView | PortView focused_item: The focused item