canvas pattern changed