fix #864 remove DPI test from css.Units constructor

This commit also adds an additional check for a related error when the developer is calling `preloadSkinImages` from <HEAD>.