Form with collapses set as open becomes messed up