Fixed (finally) ScrollConsoleScreenBuffer implementation.