- Fixed several bugs while resizing an existing screenbuffer.