Fix for selection with cmd key.