Fixed #29.

The size of the element that is animated is now not updated on the wrong time anymore.
Merge branch 'master' of ssh://github/Fingerpaint/project-code