Eddie Murphy had trouble finding work after "Shrek".