Resize: Fixed event triggering (fixes #3637)