Its not a bug, its Top Eleven. The reason things like this happen is because teams can get upset in real life, so they have to make it so even very bad teams can still somehow win. Finally how was the condition of your players before the match?