Fixed some redundants redrawing of the viewer and the info bar