Fixed line drawing bugs on screen resize; Made dot bars work again;