fix issue when non-styleable views tried to get styled