Don't resize if sx AND sy haven't changed. Also tweak some logging, and reset attrs after clear.

2 files changed