Implicit conversion fails in some niche scenarios, like launching the game from IDEA with the nvidia hint on an optimus laptop. For some reason launching from prism with the hint works fine, as does launching from IDEA with the hint disabled. Adding the explicit conversion fixes the issue though so we don't need to worry about the specifics too much.
Fixes #2678
Implicit conversion fails in some niche scenarios, like launching the game from IDEA with the nvidia hint on an optimus laptop. For some reason launching from prism with the hint works fine, as does launching from IDEA with the hint disabled. Adding the explicit conversion fixes the issue though so we don't need to worry about the specifics too much.