feat: Add displace extension to Rect (#3943)