fix #142 resize delay by ignoring all but the latest resize events,