mplayer: refactor for visibility setting for component overlay.