zScale == 0 wasn't working. This is fixed!