Fix bug DNN-3977: use css instead of curCSS.