Update layouts to pass the margin directly to _Window.place.