Fix heartbeat animation