Scene switching fix.