Bugfix for listboxes