On the continuum limit of the entanglement Hamiltonian