Remove dead onresize handler

Resize behaviour was removed in 8d2bed53, but the empty event handler is still repeatly added to the window.