Fix obtainStyledAttributes