bugfix: crashed if object moved away during selection