Fixed a bug in float[] mapping