On the interplay between multiscaling and stock dependence