Fixes picture assignment in an element editor.

Since the editor partial is getting cached, we need to touch the content manually when assigning a picture. Otherwise it would just render the cached content which is the same as before.
Merge pull request #650 from magiclabs/fix/picture-assignment

Fixes picture assignment in an element editor.