The bug
If you try to place a painting in a certain spot where a painting cannot exist, it will not be placed, however the hand will animate as if the placement was successful.
Linked issues
testing discovered
Attachments
Comments

Haven't tested, seems likely though.

Relates to MC-129722
Does this affect 1.12.2?