Fixes menu highlight when app is inactive.