No. Given the historical context, the audience at that time would not have found it offensive. Especially if you consider The Taming of the Shrew, which is more sexist than Hamlet to be honest.
However, it would be unfair to judge these plays according to today's standards of feminism.