Add braces around rect subobject initialization.

Signed-off-by: Aron Cedercrantz <aron@cedercrantz.se>