Another minor fix for shiny version 0.9.0 and 0.9.1