Added delay to resize event.