the bug is fixed with the clicked painting