I'm still having this same issue (now June 2022), I'm running version 5.5.2.86528 Win x64.
The only really frustrating workaround I've found is to melodyne the track in a separate project, export that track, then import it into my actual project and do the gain envelope adjustments.