osd: properly wakeup when the OSD function disappears

Fixes #1236.