Fix randomtest and quicktest with gosub_scene