Fixed bug in listctrl