Fix glstate glEnable / glDisable logic.