One of the problem is because you only make the camera follow the player when he is not colliding with an obstacle, remove this condition, it is useless and make the camera looks like there is a problem.
Another thing is that you’re calling twice the “move away” action, maybe try to remove one.
Can’t remember the exact one, but just look at your events, it’s a condition testing collision that is in an event that move the camera, it shouldn’t be complicated to find
thanks i sorted it out. the problem was actually the collision mask. if the collision masks are inconsistent it will make the player to move away further than its supposed to.