Set the grading method of each category to Simple Weighted Mean of Grades - despite the name, this method will remove the weighting for each grade item and then within the category, it will act like total points.
Keep the Weighted Mean of Grades for the course grading and that will give you the option to assign a weight just to the category.