Fixed the issue with queued effects becoming corrupted.