Hey there,
If you’re still having problems I have found that to resolve this you can first enter the command in MAVProxy ‘rc 3 1500’ to simulate input from the pilot because in these modes the pilot controls the altitude. After this, there shouldn’t be any problems when changing to loiter, circle etc.