Get rid of log messages on resize. Fixes Bug #1263484.