- fix #7926
- the painting is ended if image cannot be allocated in renderer
Merge pull request #776 from Oslandia/issue7926

- fix #7926