Fix cross-browser margin issues