Fix switching between line and appmode in the client.

Need to hide the linecontainers parent because of the scrollback setup.