Replacing image assets by rect shapes