fix selection after drop from palette