fix for sortable

https://github.com/rstudio/shiny/issues/379