Hi,
for me your solution does not work : see here
Only solution that I have found so far is to explicitly add a return before deactivation, see result here
@startuml
A -> B : start
activate B
B -> B : auto
B --> A
deactivate B
@enduml
Even the beta version, as found in this answer does not solve the issue.