Bugfix: usable window was incorrectly calculated when upper window limit was below SND_NXT.