Bugfix wrong width and height, hsz and vsz are mixed up

The hsz and vsz for setting the width and hight in the _renderContainer method are mixed up for vertical and horizontal mode.