viewport correction, widget improvements