This happens to me instantly with custom launcher e.g. KISS or Lawnchair. I’ve since switched to Quickstep.
But in Quickstep this also happens, just more rarely instead of instantly.
Here’s an instance of when it started happening for me, I’m not sure why. It was before the update with the February 5 android security patch. I don’t know how to reproduce this, it just starts happening.