Fixed crash when launching game