Make sure the head is moved up after the last printed bit, so it does not hit other objects.