VRP: painter improvements
(cherry picked from commit 2fab98bcd45ee46089ac37733cfb5722cd881e8c)