Improve animate in lace
Merge remote-tracking branch 'origin/development' into development
If window is unfocused, don't wait for transitionend/animationend