Example: Fix canvas shapes particle sparks breakage

- #5071
- Due to object.position being immutable