Fix animate block resize