Fix a bug in calculating attribute offset for simple attributes. Bump to 1.0.5.