VideoEngine: separate the refresh inputs part of the persistent message
clearing.
Also made a small optimisation in NodeGui::clearPersistentMessage since
this is called at every frame rendered.