EventHandler on resize : Use local variable.