Allow from_right and from_bottom when setting a frame or in layout