If you use Cinemachine check every object in your scene, the player and the enemy prefabs and make sure they all have the Z Position in the Transform Component set 0. Hope that helps.
I'll try that out for my next project. Thanks!