Any great work of art can appear hateful if the context in which one first encounters it is unlucky, says Jane Shilling