Use polling to detect editor resize