editors: move offset fixing to adjust_layout (so that it's adjusted after potential clamping), remove separate .pw and .ph (instead real w and h divided by draw_scale and then floored is used)