Problem with matter physics

Hello I have a problem.

When I resize the window I want to adjust the size of my game to it, for this I am doing the following:

game.scale.setGameSize(1000, 650);
game.scale.setParentSize(1000, 500);

If the window is smaller than what I want, I put the game with a minimum value of 650. This scales the game correctly, but the physics are slowed down.

Example video: 2023-06-09 03-27-01