If feasible change the commode to Western type. Along with it start quadriceps strengthening exercises. This thing happen because we in daily practice don't flex knee to this much degree and day by day we get unaccustomed to the activity. And when repeated for some time muscles get fatigued and pain
. Hope this information is helpful for further questions can contact.