Improved some issues that prevented styles to load in some circumstances