Focus error panel if script error