WM: fix issue with loading.html