Fixed game breaking bug