Move NanoUI cache update to client/New()

Fixes #6432.