Fixed Chrome issue with document.styleSheets

I still have this random issue where Chrome simply doesn't see the stylesheet added.
This should fix it, let me know what you think.