Fix flight under non-webkit browsers