SceneGraph: animationStopped() should be called after duration is exceeded.

The test currently fails.
SceneGraph: actually call animationStopped() after duration is exceeded.
Assert when improper pixel type is passed to AbstractImage::pixelSize().