fix minor animation bugs