Fixed an issue with breeding