Implement grabbing media keys on window focus