Bug 415277 - Garbage displayed after resizing whilst using an alternate screen

Patch from Egmont Koblinger.