selection bugfix

fixed the selection problem when generating new geometry