[Toolkit.Game] Fixed issue #297.