Swing roll/pitch when changing flight mode

Hello folks,

Changing flight mode as in the below causes swing roll/pitch.
Altitude → Position
Altitude → Hold
Stabilized → Position


Could you help me to figure out why this swing roll/pitch happened?
Thanks!

Test environment

  • PX4 master version
  • Gazebo 9.13.1
  • Wind speed: 0

FYI, Flight Review