apply fix for ivaynberg/select2#567