Fixed a bug where editor resize didn't trigger painting of #main-container background