Fixing issue when painting images