Fix DECALN behavior

This patch is small improvement for DECALN behavior.

http://www.vt100.net/docs/vt510-rm/DECALN

> DECALN sets the margins to the extremes of the page, and moves the cursor to the home position.

This fix is not so important but it will conflicts with current my another working branch.
So I decide to send this patch at first.