Bugfix: crash when clicking Map/List repeatedly.