CVMROSD: Fix OSD message not being removed after switching the video window.
CVMROSD: Get the lock before changing the video window.