Changed cortex to use non-global time uniform