Physics Bug?

When setting the position of a physics body explicitly (body.position = vec2(100, 200)) the angle is reset to 0.

However, when setting it the same way like so: body.x, body.y = 100, 200 the angle is not reset to 0.

Is this a bug, or intentional?

I noticed this while working on my game, its a weird one. I don’t think it’s intentional though because when using the box2D testbed this doesn’t happen.