fixes #505 add a check which ensures that the painting is not used by another player