Common: safety check for GUIListBox to prevent division by zero