Kent managed to claw two wickets back after falling to 138 all out after Day One against Glamorgan at Sophia Gardens.