Make razor margin depth independent