Fixed problem where bar position was set before bar height was calculated.

Bar position was set before bar height was calculated. This caused bar to be positioned outside the screen, and there was to way to get it back.

Fix is trivial.