Fix for transperancy crash