auto pause only when not in focus