Fixed issue where the autoresize plugin wouldn't work if it was
missing a valid event object.