Fix a bug when ship could leave the planet when dialog was in progress