Fixed bug in `mat4_id`