Switch the view to something other than TaskPad, then back again.
http://sqlserver2000.databases.aspfaq.com/why-do-i-get-script-errors-in-enterprise-manager-s-taskpad-view.html