Fixing chosen initialization to only fire on visible elements