Change how CSS is initialized to hopefully fix strange bug.