Fixing crash when x, y, width or height isn't set on <rects>

Defaulting to 0.0f when attributes for any of these are missing.

Ps. Looking forward to seeing the one-liner you'll compress this into ;)