cob_head_axis: fix deprecated API in constructor