Fix race conditions when initially resizing terminal
Fix race conditions when initially resizing terminal

Race conditions could happen if the Terminal container did not have the correct size during initialization.

Signed-off-by: Antonis Kalipetis <27fcf72a2b91bd9d3b77dd16ab258e87cf020462@gmail.com>

so0k/play-with-docker,play-with-docker/play-with-docker,polyverse-security/play-with-polyverse,bingohuang/docker-labs,bingohuang/docker-labs,rdisanto/play-with-docker,play-with-docker/play-with-docker,polyverse-security/play-with-polyverse,so0k/play-with-docker,bingohuang/docker-labs,rdisanto/play-with-docker,polyverse-security/play-with-polyverse,so0k/play-with-docker,so0k/play-with-docker,franela/play-with-docker,play-with-docker/play-with-docker,franela/play-with-docker,rdisanto/play-with-docker,polyverse-security/play-with-polyverse,franela/play-with-docker,rdisanto/play-with-docker,franela/play-with-docker,play-with-docker/play-with-docker,rdisanto/play-with-docker,bingohuang/docker-labs