Fixed wiggle animation issues for -webkit and -moz