fixed graph resize update on chrome