Fix an incorrect store pattern. This fixes em3d.