Fix picture deletion