Fix for VFR files play issue (ticked #12012).

this supersedes #1387 @jpsdr I have squashed the commits for you and will close the other pr.