fixed FixedPointSizeMaterial and some minor stuff