Honor widget margin when extracted as native widget