Critical behavior of dissipative two-dimensional spin lattices