Temporary fix for dart:math Point, Rectangle