Cinemachine 2D cam hinders the player to move to the right side of the level

Hello,

I’m pretty new to Cinemachine and have a weird behavoiur. I setup a 2D camera that follows my player sprite. It works fine when I go up, down and left. But when I go to the right side, it hinders me to move to the right edge of my level. I put a Polygon 2D Collider onto my background image and used that as a Cinemachine Confiner. Any idea what’s going on?

Editor window on top, Game window at the bottom

Ok now I know what caused this. I had a method in my Player script to set the movement boundaries from the time before I added Cinemachine. Now it works as expected!