I’m seeing some people that have issues with the 2.6 firmware and the enclosure. It’s possible that you’re seeing the problem mid-print instead of all the time. There’s some discussion in the firmware bugs discussion, but I haven’t seen anything saying it’s fixed yet. 2.7 seems to have the same problem.
See if disconnecting the enclosure switch helps. If not, try downgrading to 2.4.