Fixed CGstate bug

There was this one line of code that I forgot to add and it blocks the
animation state...