[NUI] Add null checking in internalSet/GetPropertyXXX()