Fix width when the select is not yet hidden

I cleaned up the code from:
https://github.com/harvesthq/chosen/pull/1439/files