Fix issue where shell wasn't wrapping