Fixed some minor bugs in Visir