[#359] removed the non-working trick with rect set to `null`