I do not experience that behavior at all. It always reverts to the second most foreground window for me.