imgOpStack now functioning normally