Dragging and dropping a blueprint class has offset components

There seems to be a bug here. InitBoxExtent() sets the extent of the box without triggering a render update. That seems to be the problem. Do this instead:

  1. Use SetBoxExtent() instead of InitBoxExtent()

  2. BoxCollider->SetupAttachment(RootComponent); instead of AttachToComponent to root.