Fix bug DNN-5259: call Globals.ResolveUrl to get correct path.