Merge "PiP: Consider stash state when calculating snap fraction."