[mplayer] fix for 2 annoying issues

- when mplayer main window is no longer the active window, the overlay
  is hidden as well.
- when mplayer main window is minimized, the overlay is hidden as well.