updated calculation when dragging aircrafts