fixed some bugs in the framework

Animations mainly