Fixed a bug that would cause the head to detach when resuming