Stochastic heat engine powered by active dissipation