improve _moveStyleToWrapper implementation to catch margin auto
settings.