fix #611 Error when tab selection triggers refresh

When tab selection triggers a refresh of the seciton containing the @aria:Tab widget, an error is raised when trying to give focus to the widget, which has been destroyed in the mean time.