Casting to game instance always fails when packaging the game

Bumping this because this bug still exists in 4.20