Add an Animation class
Animate the scale effect
Fix segfault when moving a window