update to fix rect:fill