Fixed bug #44 (bad display of view list in some cases)