Fix animation bug in ImageBox-Directive, fix some related HTML+CSS bugs