Fix fetching attr values by obtainStyledAttributes