I see no way "Mr. Sunshine" can be a racial slur. Of course anything can be insulting if pronounced with that intent. The only way I have heard "Sunshine" used is as a term of endearment when speaking to small children.