BDragger: add layout-aware constructor.

Somehow no one needed this yet.