Explicitly set the value of 'collapsed' for #8208

For #8208. @peterflynn or @TomMalbran 
Gah. This is what I get for switching between JS and native code...