Fix issues when styleVariables is undefined