fix uniform matrix set/get