portrait painting fixes encounting