Fix logging out when on a dragon.