Make rect(0,0,0,0) pass the compiler (#14052)

Change-Id: I862ba56c12e684499902b9a01dda2e46717f4323