fixed crash on exit from pause. added basic animation in render controller