Fixed #2820 where chart didn't reflow to reflect resized window, due to event.target not being set.