Fixed character animation for firefox and chrome to use steps