Fix float rects being decoded as integers in native code.

Signed-off-by: Patrick Dinklage <pdinklag@googlemail.com>