Scaling Matter body

Hello!

I need to check a collision that is located between two moving points, so that game objects cannot go between them and would be reflected. The way I solve it is to make a rectangle Matter body in between two points that dynamically changes scale. The problem is that when I try to change scale only on one axis the collider appears deformed and rotated out of the image is it on.

this.scale += 1;
this.block.setScale(this.scale, 5);

Is there a way to scale object only in one axis without deforming it?
Is there a better alternative for creating a dynamic space between two moving points?

Thank you in advance.