Now correctly deactivating GL attributes.

Found when assessing coercion of integer types in gl functions.