allow null target on Animation constructor

Fixes #223.