Fix painting