Fixed dirty flag in Uniforms. fixes #83