compat: add margin top support on Origin mode