Call setBarPosition on initial load and not just when the window size changes or scrolling happens.
@@ -97,6 +97,7 @@ start: function(callback) {
//UI.setOnscroll();
//UI.setResize();
}
+ UI.setBarPosition();
$D('noVNC_host').focus();