Do nothing if the active window is already most recently raised one. (cherry picked from commit cae98284)