[#2945] Ensure that _elementRect cannot be undefined inside of _draggable.update