Don't assert when adding ViewTarget callback twice

Fixes #167
Add gif_encoder to glide dependencies.