#7186 Fix to new problem caused by previous fix (styles & scripts not being loaded)