Fix game breaking bug