You are right. That was the issue. I checked the Marks option under "Later, while the quiz is still open" and now it displays correctly even in student mode. I ended up deleting the grade items and perform every calculation in the category total calculations.
I have a new problem now though in that the course total is blank in student role. Could this be due to the category total being custom calculated?