Fix a warning on windows.
Fix Player.play crash on Windows due to trying to assign NULL to a reference.