[BUG #8429] Assign the drop target sooner to make sure all code in the drag over handler can rely on it.