Flush the ppss cache on mode activation.

This prevents the code from relying on stale cache if the mode
has been deactivated, the buffer changed and the mode activated again.